
package com.sun.alen.service;

import com.sun.alen.entity.MainClass;
import com.sun.alen.entity.PageBean;

import java.util.List;

public interface MainClassService {
    boolean add(MainClass mainClass);

    boolean update(MainClass mainClass);

    boolean delete(String id);

    PageBean search(String input, String select, Integer currentPage, Integer pageSize);

    List<MainClass> all();

    List<MainClass> getMainClassByTea(String id);

    PageBean searchTeacher(String input, String select, Integer teacherId, Integer currentPage, Integer pageSize);
}
